package com.dormitory.dormitorymanagement.pojo.vo;

import com.dormitory.dormitorymanagement.pojo.Comments;

import java.time.LocalDateTime;
import java.util.List;

public class PostsVo {
    private  Integer id;
    private  String title;
    private  String content;
    private LocalDateTime creatTime;
    private  String author;

    private List<CommentsVo>  comments;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public PostsVo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(LocalDateTime creatTime) {
        this.creatTime = creatTime;
    }

    public List<CommentsVo> getComments() {
        return comments;
    }

    public void setComments(List<CommentsVo> comments) {
        this.comments = comments;
    }
}
